<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>模板管理</title>
<s:include value="/app_common/common.jsp"></s:include>
</head>
<body>
	<div class="box1" panelWidth="500">
					<table class="tableStyle" style="visibility: hidden;" formMode="line">
				<tr>
					<th colspan="4">出差登记更新</th>
				</tr>
				<tr>
					<td>出差人姓名：</td>
					<td>
						<s:hidden id="user_code" name="ea.e_ucode"></s:hidden>
						<input type="text" id="user_name"  name="ea.e_uname" onclick="queryUserAll()" value="<s:property value="ea.e_uname" />" class="validate[required,length[0,20]]"/><span class="star">*</span>
					</td>
					<td>出差时间：</td>
					<td><input type="text" id="e_date" name="ea.e_date" value="<s:property value="ea.e_date" />" class="date validate[required]"/><span class="star">*</span></td>
				</tr>
				<tr>
					<td>拜访客户数量：</td>
					<td><input type="text" id="ea.e_visit_count" name="ea.e_visit_count" value="<s:property value="ea.e_visit_count" />" class="validate[required]"/><span class="star">*</span></td>
					<td>所属部门：</td>
					<td>
						<s:property value="ea.e_dpname"/>
					</td>
				</tr>
				<tr>
					<td>出差行程说明：</td>
					<td colspan="3"><s:property value="ea.e_explain"/>
					</td>
				</tr>
				<tr>
					<td colspan="4">
					<input type="button" onclick="back()" value="返回" />&nbsp;&nbsp; 
				</tr>
			</table>
	</div>
</body>
<script type="text/javascript">
$(function(){
	showProgressBar();
	setTimeout(function(){
		var thisV;
		$('input[type=text]').each(function(){
			thisV = $(this).val();
			$(this).parent().empty().text(thisV);
		});
		closeProgress();
		$('.tableStyle').css('visibility','visible');
	},500);
});
function back() {
		showProgressBar();
		window.location = webctx + "/reality/ea_queryErrand.action";
}
</script>
</html>